
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>vue · 粥可温-Bug</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-accordion/accordion.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="页面实时数据监听.html" />
    
    

    
        <link rel="shortcut icon" href="config/img/book.png" type="image/x-icon">
    
    
        <link rel="bookmark" href="config/img/book.png" type="image/x-icon">
    
    
        <link rel="apple-touch-icon" sizes="152x152" href="config/img/book.png">
    
    
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="config/img/book.png">
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="config/img/book.png">
        
        <link rel="apple-touch-icon" sizes="180x180" href="config/img/book.png">
        
    
    
        
        <link rel="apple-touch-icon-precomposed" sizes="120x120" href="config/img/book.png">
        
        <link rel="apple-touch-icon-precomposed" sizes="180x180" href="config/img/book.png">
        
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../../">
            
                <a href="../../../">
            
                    
                    关于我
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    前端
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.1" data-path="initVue.html">
            
                <a href="initVue.html">
            
                    
                    vue
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="页面实时数据监听.html">
            
                <a href="页面实时数据监听.html">
            
                    
                    页面实时数据监听
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    后端
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../后端/java.html">
            
                <a href="../../后端/java.html">
            
                    
                    java
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../后端/wft.html">
            
                <a href="../../后端/wft.html">
            
                    
                    wft
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../../后端/Mybatisplus.html">
            
                <a href="../../后端/Mybatisplus.html">
            
                    
                    mybatisplus
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../../后端/数据库.html">
            
                <a href="../../后端/数据库.html">
            
                    
                    数据库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../../后端/git.html">
            
                <a href="../../后端/git.html">
            
                    
                    Git
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../../后端/集合.md">
            
                <span>
            
                    
                    集合
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../不明所以/其他.html">
            
                <a href="../../不明所以/其他.html">
            
                    
                    这到底是什么问题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../.." >vue</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <p>&#x95EE;&#x9898;</p>
<p>vue&#x6253;&#x5305;</p>
<p>&#x89E3;&#x51B3;</p>
<pre><code>&#x5982;&#x679C;&#x662F;&#x8DEF;&#x5F84;&#x95EE;&#x9898;
vue.config.js &#x4E2D;  publicPath: &apos;./&apos; 

&#x5982;&#x679C;&#x6253;&#x5305;&#x540E;&#x8BBF;&#x95EE;&#x4E0D;&#x62A5;&#x9519;&#x7A7A;&#x767D;&#x95EE;&#x9898;
 new VueRouter &#x4E2D; mode:&quot;history&quot;  &#x6539;&#x4E3A; mode: &quot;hash&quot;

 &#x82E5;&#x8981;&#x4F7F;&#x7528;&#x5B83;&#xFF0C;&#x4E14;&#x9879;&#x76EE;&#x90E8;&#x7F72;&#x90E8;&#x7F72;&#x5728;&#x6839;&#x8282;&#x70B9;&#x9700;&#x8981;&#x52A0;
 base: &apos;/justMe/&apos;,
</code></pre><hr>
<h1 id="&#x6570;&#x636E;&#x66F4;&#x65B0;&#xFF0C;dom&#x672A;&#x5237;&#x65B0;">&#x6570;&#x636E;&#x66F4;&#x65B0;&#xFF0C;DOM&#x672A;&#x5237;&#x65B0;</h1>
<p>dom&#x5143;&#x7D20;&#x52A0;if&#x5224;&#x65AD;</p>
<pre><code class="lang-javascript">&lt;Table v-<span class="hljs-keyword">if</span>=<span class="hljs-string">&quot;tableObject.tableList.length &gt; 0&quot;</span>:loading=<span class="hljs-string">&quot;tableObject.loading&quot;</span> &gt;
</code></pre>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; &#x65E0;&#x4EBA;&#x95EE;&#x6211;&#x7CA5;&#x53EF;&#x6E29; all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x6700;&#x540E;&#x66F4;&#x65B0;&#x65F6;&#x95F4;&#xFF1A;
2024-01-18 06:35:38
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="页面实时数据监听.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 页面实时数据监听">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"vue","level":"1.2.1","depth":2,"next":{"title":"页面实时数据监听","level":"1.2.2","depth":2,"path":"bug/前端/vue/页面实时数据监听.md","ref":"bug/前端/vue/页面实时数据监听.md","articles":[]},"previous":{"title":"前端","level":"1.2","depth":1,"ref":"","articles":[{"title":"vue","level":"1.2.1","depth":2,"path":"bug/前端/vue/initVue.md","ref":"bug/前端/vue/initVue.md","articles":[]},{"title":"页面实时数据监听","level":"1.2.2","depth":2,"path":"bug/前端/vue/页面实时数据监听.md","ref":"bug/前端/vue/页面实时数据监听.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-pro","accordion","lightbox","theme-default","theme-comscore","livereload","highlight","back-to-top-button","splitter","hide-element","code","insert-logo","tbfed-pagefooter","expandable-chapters","chapter-fold","-sharing","sharing-plus","page-toc-button","favicon-absolute","flexible-alerts"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy 无人问我粥可温","modify_label":"最后更新时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"styles":{"website":"config/styles/website.css"},"livereload":{},"splitter":{},"search-pro":{},"accordion":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"favicon-absolute":{"appleTouchIconMore":{"120x120":"config/img/book.png","180x180":"config/img/book.png"},"appleTouchIconPrecomposed152":"config/img/book.png","appleTouchIconPrecomposedMore":{"120x120":"config/img/book.png","180x180":"config/img/book.png"},"favicon":"config/img/book.png","bookmark":"config/img/book.png","appleTouchIcon152":"config/img/book.png"},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"lightbox":{"jquery":true,"sameUuid":false},"theme-comscore":{},"page-toc-button":{"maxTocDepth":2,"minTocSize":2},"back-to-top-button":{},"flexible-alerts":{"danger":{"className":"danger","icon":"fa fa-ban","label":"Attention"},"note":{"className":"info","icon":"fa fa-info-circle","label":"Note"},"style":"callout","tip":{"className":"tip","icon":"fa fa-lightbulb-o","label":"Tip"},"warning":{"className":"warning","icon":"fa fa-exclamation-triangle","label":"Warning"}},"links":{"sidebar":{"Home":"https://github.com/dunwu/gitbook-notes"}},"sharing":{"qq":true,"qzone":true,"weibo":true,"all":["weibo","qq","qzone"]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"insert-logo":{"style":"background: none; max-height: 50px; min-height: 50px;border-radius: 50%;","url":"https://portrait.gitee.com/uploads/avatars/user/1617/4852612_MEliauk_1615280065.png!avatar60"},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"粥可温-Bug","language":"zh-hans","gitbook":"*","description":"这真的不是我的问题啊~~~"},"file":{"path":"bug/前端/vue/initVue.md","mtime":"2024-01-18T06:35:38.333Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2024-01-18T06:37:53.061Z"},"basePath":"../../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../../gitbook/gitbook.js"></script>
    <script src="../../../gitbook/theme.js"></script>
    
        
        <script src="../../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-accordion/accordionSelector.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

